/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
export default {
    spbtdir: {
        //defaulturl下serversbmappress只在在vue-cli里好使。
        // 要注意，vue.config.js文件中proxy是配置在开发环境下的。只在vue-cli里好使，解决开发中跨域问题
        //在部署之后，要把前台的代码改回来。即在前台js中将连接服务器的ip配置为正确的ip

        ruoyiurl:"http://localhost:8086/",
        defaulturl: "http://localhost:8094/serversbmappress/",
        fronturl: "http://localhost:8094/webeconomic/",//这是开发环境的ip

       /* ruoyiurl:"http://119.3.255.179:8086/",//ruoyiHoutai
        defaulturl: "http://119.3.255.179:8087/",//databaseWeb Houtai部署的时候用真实ip
        fronturl:"http://119.3.255.179:8090/economic/",//部署的时候用真实ip
        loginhref:"/webeconomic/index",//部署的时候用真实login,开发也用这个*/
    },
    spbturl: {
        portal: {
            login: {
                remoteLogin: "portal/login/user.login",
                checkLogin: "portal/login/check.login",
                remoteLogout: "portal/login/user.logout"
            },
            upload: {
                // uploadShpfile: "portal/upload/upload.shpfile",
              uploadShpfile: "survey/basic/upload.shpfile",
                writeShpfile: "portal/upload/write.shpfile"
            },
            bookmarkManager: {
                queryBookmark: "portal/bookmarkManager/query.bookmark",
                updateBookmark: "portal/bookmarkManager/update.bookmark"
            },
            regionManager: {
                queryRegion: "portal/regionManager/query.region",
                queryRegionByCode: "portal/regionManager/query.regionByCode"
            },
            resourceManager: {
                queryResourceCatalog: "portal/resourceManager/query.resource",
                queryMapSource: "portal/resourceManager/query.mapSource",
                queryMapResourceByType: "portal/resourceManager/query.mapResourceByType",
                queryMapRegion: "portal/resourceManager/query.mapRegion",
                queryMapRegionCode: "portal/resourceManager/query.mapRegionCode",
                queryCatalogQuery: "portal/resourceManager/query.catalogsQuery",
                queryCatalogByIdQuery: "portal/resourceManager/query.catalogQuery",
                QueryXZQQuery: "portal/resourceManager/query.xzqQuery", //查询行政区，为了前台查询分析时先确定区县范围。
                queryCatalogStatistics: "portal/resourceManager/query.catalogStatistics",
                queryPOI: "portal/resourceManager/query.placename",
                updateuserFavoritesLayer: "portal/resourceManager/update.userFavoritesLayer",
                updateuserTempLayer: "portal/resourceManager/update.userTempLayer",
            },
            statisManager: {
                queryStatistics: "portal/statisManager/query.statistics",
                queryDLStatistics: "portal/statisManager/query.statisDL",
            },
            userSetting: {
                queryFunctions: "portal/userSetting/query.functions",
                queryUserPrj: "portal/userSetting/query.userPrj",
                updateUserPrj: "portal/userSetting/update.userPrj",
            }
        },
        manager: {
            common: {},
            login: {
                remoteLogin: "manager/login/user.login",
                checkLogin: "manager/login/check.login",
                remoteLogout: "manager/login/user.logout"
            },
            userManager: {
                queryPortalRole: "manager/userManager/query.portalRole",
                queryUser: "manager/userManager/query.user",
                updateUser: "manager/userManager/update.user",
                queryRole: "manager/userManager/query.role",
                updateRole: "manager/userManager/update.role"
            },
            businessManager: {},
            resourceManager: {
                receiveLegendImg: "manager/resourceManager/receive.legendImg",
                queryResourceCatalog: "manager/resourceManager/query.resourceCatalog",
                queryMapSource: "manager/resourceManager/query.mapSource",
                queryRegion: "manager/resourceManager/query.region",
                queryCatalogQuery: "manager/resourceManager/query.catalogQuery",
                queryCatalogStatistics: "manager/resourceManager/query.catalogStatistics",
                QueryXZQQuery: "manager/resourceManager/query.xzqQuery", //查询行政区，为了前台查询分析时先确定农场范围。
                updateMapSource: "manager/resourceManager/update.mapSource",
                updateResourceCatalog: "manager/resourceManager/update.resourceCatalog",
                updateCatalogQuery: "manager/resourceManager/update.catalogQuery",
                updateCatalogStatistics: "manager/resourceManager/update.catalogStatistics",
                updateXZQQuery: "manager/resourceManager/update.xzqQuery"//修改，查询行政区服务，为了前台查询分析时先确定农场范围。
            },
            systemConfig: {
                queryMapInfo: "manager/systemConfig/query.mapInfo",
                queryPortalInfo: "manager/systemConfig/query.portalInfo",
                querySysInfo: "manager/systemConfig/query.sysInfo",
                querySysmenu: "manager/systemConfig/query.sysMenu",
                queryDict: "manager/systemConfig/query.dict"
            },
            systemConfiguration: {
                queryPortalInfo: "manager/SystemConfiguration/query.portalInfo",
                updatePortalInfo: "manager/SystemConfiguration/update.portalInfo",
                queryPortalNav: "manager/SystemConfiguration/query.portalNav",
                updatePortalNav: "manager/SystemConfiguration/update.portalNav",
            }
        },
        cropStructure: {
            queryCropStatistics: "cropStructure/query.cropStatistics",
        },
        landIntegration: {
            queryLandStatistics: "landIntegration/query.landStatistics",
        },
        blacksoilProtection: {
            queryBlacksoilStatistics: "blacksoilProtection/query.blacksoilStatistics",
        }
    }
}
